package com.europe.business.europebusiness.ui.activity;

import android.content.Intent;
import android.view.View;
import android.widget.LinearLayout;

import com.europe.business.europebusiness.R;
import com.europe.business.europebusiness.ui.activity.base.ActionBarActivity;

public class SettingActivity extends ActionBarActivity implements View.OnClickListener {
   private LinearLayout exit_login;
    @Override
    protected int setMainContent() {
        return R.layout.activity_setting;
    }

    @Override
    protected void initView() {
        super.initView();
        setActionRight(false,"",null);
        exit_login=findViewById(R.id.exit_login);
        exit_login.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.exit_login:
                Intent intent=new Intent(this,LoginActivity.class);
                intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);
                startActivity(intent);
            break;
        }
    }
}
